package com.ytjj.qmyx.mall.model;

import java.io.Serializable;
import java.util.Date;

public class LiveProduct implements Serializable {
    private Integer id;

    /**
     * 直播id
     *
     * @mbg.generated
     */
    private Integer liveId;

    /**
     * 商品id
     *
     * @mbg.generated
     */
    private Integer productId;

    /**
     * 活动商品id
     *
     * @mbg.generated
     */
    private Integer activityId;

    /**
     * 活动类型
     *
     * @mbg.generated
     */
    private String activityType;

    /**
     * 是否活动 0->否  1->是
     *
     * @mbg.generated
     */
    private Byte activityFlag;

    /**
     * 状态0 下架 1上架
     *
     * @mbg.generated
     */
    private Integer status;

    /**
     * 是否置顶 0否 1是
     *
     * @mbg.generated
     */
    private Integer isTop;

    /**
     * 排序
     *
     * @mbg.generated
     */
    private Byte sort;

    /**
     * 展示时间 ->单位秒
     *
     * @mbg.generated
     */
    private String showTime;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 修改时间
     *
     * @mbg.generated
     */
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getLiveId() {
        return liveId;
    }

    public void setLiveId(Integer liveId) {
        this.liveId = liveId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getActivityId() {
        return activityId;
    }

    public void setActivityId(Integer activityId) {
        this.activityId = activityId;
    }

    public String getActivityType() {
        return activityType;
    }

    public void setActivityType(String activityType) {
        this.activityType = activityType;
    }

    public Byte getActivityFlag() {
        return activityFlag;
    }

    public void setActivityFlag(Byte activityFlag) {
        this.activityFlag = activityFlag;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getIsTop() {
        return isTop;
    }

    public void setIsTop(Integer isTop) {
        this.isTop = isTop;
    }

    public Byte getSort() {
        return sort;
    }

    public void setSort(Byte sort) {
        this.sort = sort;
    }

    public String getShowTime() {
        return showTime;
    }

    public void setShowTime(String showTime) {
        this.showTime = showTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", liveId=").append(liveId);
        sb.append(", productId=").append(productId);
        sb.append(", activityId=").append(activityId);
        sb.append(", activityType=").append(activityType);
        sb.append(", activityFlag=").append(activityFlag);
        sb.append(", status=").append(status);
        sb.append(", isTop=").append(isTop);
        sb.append(", sort=").append(sort);
        sb.append(", showTime=").append(showTime);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}